<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html>
<html>
<head>
<meta content='版块信息修改' name='description'>
<meta content='True' name='HandheldFriendly'>
<meta content='width=device-width, initial-scale=1.0' name='viewport'>
<jsp:include page="/public/header-meta.jsp"></jsp:include>
<title>编辑论坛版块</title>
</head>
<body id="startbbs">
<jsp:include page="/public/header.jsp"></jsp:include>
<div id="wrap">
<div class="container" id="page-main">
<div class="row">
<jsp:include page="Sleftbar.jsp"></jsp:include>
<div class='col-xs-12 col-sm-6 col-md-8'>

<div class='box'>
<div class='box-header'>
编辑版块${list.sname}
</div>
<div class='inner row'>
<!--<div class='alert alert-info'>如果标题已经包含你想说的话，内容可以留空。</div>-->
<form accept-charset="UTF-8" action="admin!update" class="simple_form form-vertical" id="add_section" method="post">
<div style="margin:0;padding:0;display:inline">
</div>
<div class="form-group string required">
<div class="col-sm-7">
<input name="section.sid" type="hidden" value="${list.sid}">
<label class="string required control-label" for="topic_title">版主</label>
<select class="form-control" name="uid" >
<s:iterator var="u" value="users">
<option value="${u.uid }">${u.uname }</option >
</s:iterator>
</select>
</div>
<div class="col-sm-7">
	<label class="string required control-label" for="seciton_name">版块名</label>
	<input class="form-control" id="seciton_name" maxlength="100" 
		name="section.sname" size="60" type="text" value="${list.sname}" />
</div>
<div class="col-sm-7">
	<label class="string required control-label" for="section_profile">简介</label>
	<input class="form-control" id="section_profile" maxlength="100" name="section.sprofile" size="60" type="text" value="${list.sprofile}" />
</div>
</div>

<div class="col-sm-9">
<input class="btn btn-primary btn-inverse" name="commit" type="submit" value="修改" />
</div>
</form>
</div>
</div>
</div>
<div class='col-xs-12 col-sm-6 col-md-4' id='Rightbar'>
</div>
</div></div></div>
<jsp:include page="/public/footer.jsp"></jsp:include>
</body>